import {HTTP} from '../utils/http'

class ProfitModel extends HTTP{
  //收益细明
  profit(current,size,type){
    return this.request({
      url: 'my/getAccountLogList',
      data: {
        'size' : size || 10,
        'current' : current || 1,
        "type":type
      }
    })
  }
  //我的钱包
  wallet(){
    return this.request({
      url: 'my/wallet',
    })
  }
}
export {ProfitModel}